package com.kingyun.gpsinspection.purificationservice.facade.service.jsm;


import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.EmployeeVo;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.WorkCellInstance;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.WorkCellInstanceVo;

import java.util.List;

/**
 * Created by zmling on 2017/1/12.
 * modify by huangxueqian on 2017/02/28
 */
public interface OutWorkCellInstanceService {

    /**
     * 查詢工作内容
     * @param workCellInstance
     * @return
     * @throws Exception
     */
    List<WorkCellInstance> findWorkCellInstance(WorkCellInstance workCellInstance)throws Exception;

    /**
     * 工作内容分页查询
     * @param workCellInstanceVo
     * 工作内容外部接口
     */
    JSONObject findWorkCellInstanceLimit(WorkCellInstanceVo workCellInstanceVo) throws Exception;

    /**
     *
     * @param workCellInstanceVo
     * @return JSONObject
     * @Author 卢曼成
     * @Description
     * @Date 2017/2/24 13:58
     */
    JSONObject queryInstanceInfoUnionList(WorkCellInstanceVo workCellInstanceVo) throws Exception;

    /**
     * 修改接口注意：原来的接口不能动，只能重载接口
     * @param employeeVo
     * @param workCellInstanceVo
     * @return JSONObject
     * @Author 苏公车
     * @Description
     * @Date 2017/4/21 13:58
     */
    JSONObject queryInstanceInfoUnionList(EmployeeVo employeeVo, WorkCellInstanceVo workCellInstanceVo) throws Exception;

    /**
     * 根据ID查询一站一案和操作单元
     * @param workInstanceId
     * @return
     * @throws Exception
     */
    WorkCellInstanceVo queryInstanceInfoUnionById(String workInstanceId) throws Exception;


    /**
     * 查询一站一案和操作单元
     * @param employeeVo
     * @param workCellInstanceVo
     * @param iconSkin
     * @return
     */
    JSONObject queryInstanceOrInfoUnion(EmployeeVo employeeVo, WorkCellInstanceVo workCellInstanceVo, String iconSkin);
}
